<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>{$user[name]}</title>
    <include file="Common:head"/>
</head>
<body>
<div>
    <div class="banner focus" id="focus">
        <div class="hd">
            <ul>

            </ul>
        </div>
        <div class="bd">
            <ul>
                <foreach name="list" item="vo" key="k">
                    <if condition="$k lt 3">
                      <li><a href="{:U('index/detail',array('id'=>$vo['id']))}"><img _src="{$vo['thumb']}" width="100%"></a></li>
                    </if>
                </foreach>

            </ul>
        </div>
    </div>
    <div class="orderlist" style="top:44px;bottom:56px">
        <div class="scroller">
            <div class="scroller_content">
                <ul class="list" >
                    <if condition="empty($list)">
                        <li style="height: 100%;text-align: center;">
                            暂时没有数据
                        </li>
                    </if>
                    <include file="Index:list_page"/>
                </ul>

            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="__PUBLIC__/js/TouchSlide.1.1.js"></script>
<script>
    TouchSlide({slideCell: "#focus", mainCell: ".bd ul",titCell:".hd ul",  effect: "leftLoop",
        autoPlay:true,//自动播放
        autoPage:true, //自动分页
        switchLoad:"_src" //切换加载，真实图片路径为"_src"
     });
</script>
</body>
</html>